package cn.icyzx.util;

/**
 * Created by zk on 2016/9/28.
 */
public class StaticConstUtil {

    /**
     * 用户登录标识符(以后会大改) 返回user对象
     */
    public static String LOGIN_SIGN = "user";

    /**
     * server name static
     */

    public static String SERVER_NAME = GetServerUtil.getServerName();

    /**
     * 登陆成功信息
     */
    public static String LOGIN_SUCCESS = "登陆成功";

    /**
     * 正常登陆失败信息
     */
    public static String LOGIN_FAIL = "账号或密码错误";

    /**
     * 登陆用户名不存在信息
     */
    public static String LOGIN__NAME_NOT_EXIST = "用户名不存在";

    /**
     * 登陆用户未激活信息
     */
    public static String LOGIN_EMAIL_FAIL = "用户未激活";

    /**
     * 用户未激活标志
     */
    public static String USER_ACTIVE_FALSE = "none";

    /**
     * 用户已激活标志
     */
    public static String USER_ACTIVE_TRUE = "active";

    /**
     * 用户存在时长,默认一个星期
     */
    public static int USER_EXIST_TIME = 60 * 60 * 24 * 7;

    /**
     * 注册校验用户名不可用
     */
    public static String USERNAME_DISABLE = "用户名不可用";

    /**
     * 注册校验用户Email不可用
     */
    public static String EMAIL_DISABLE = "Email不可用";

    /**
     * 注册成功并发送邮件信息
     */
    public static String REGISTER_SUCCESS = "注册成功！我们已给你发送了一封邮件，请查收";

    /**
     * 注册成功，发送邮件失败信息
     */
    public static String REGISTER_EMAIL_FAIL = "注册成功";

    /**
     * 注册失败信息
     */
    public static String REGISTER_FAIL = "注册失败";
    /**
     * 输入项不能用
     */
    public static String INPUT_DISABLE = "输入项不可用";

    /**
     * 存放到cookie中的产品选择条件
     */
    public static String COOKIE_SELECT_CONDITION = "condition";

    /**
     * listWork 页面大小
     */
    public static Integer PAGE_SIZE = 20;

    /**
     * 统一操作成功字符串标识
     */
    public static String STATUS_SUCCESS = "success";

    /**
     * 统一操作失败字符串标识
     */
    public static String STATUS_FAIL = "fail";

    /**
     * 统一需登录字符串标识
     */
    public static String LOGIN_NECESSARY = "login_necessary";

    /***
     *  主导航各个常量
     */
    public static String INDEX = "index";
    public static String DEPARTMENT = "department";
    public static String WORKSHOW = "workshow";

    /***
     *  个人设置页面设置导航
     */
    public static String p_profile = "p_profile";
    public static String p_password = "p_password";
    public static String p_avatar = "p_avatar";
    public static String p_college = "p_college";
    /**
     * 用户页面导航
     */
    public static String u_works = "works";
    public static String u_coments = "comments";
    public static String u_collections = "collections";
    public static String u_recommends = "recommends";
}
